package cn.seaboot.admin.security.service;

import cn.seaboot.admin.security.bean.SecurityChain;
import cn.seaboot.admin.security.dao.SecurityChainDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * t_sys_security_chain - Service
 * <p>
 *
 * @author Mr.css on 2018-6-20
 */
@Service
public class SecurityChainService {

    @Resource
    private SecurityChainDao securityChainDao;

    /**
     * 查列表
     *
     * @return list
     */
    public List<SecurityChain> queryList(String authorityType) {
        return securityChainDao.selectList(authorityType);
    }
}

